/*
 * GraphicsObjectEditor.java
 *
 * Created on 19. huhtikuuta 2007, 22:18
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package flowchart.editors;
import flowchart.nodes.*;
import java.awt.*;

/**
 *
 * @author jl
 */
public interface GraphicsObjectEditor {
    
    GraphicsObject getGraphicsObject();
    
    void setGraphicsObject(GraphicsObject obj);
    
    HitTestInfo hitTest(int x, int y);
    
    boolean moveHandle(HitTestInfo hInfo, int nx, int ny);

    void drawHandles(Graphics2D g, Color fill, Color border);
    
}
